package ir.values.users.instructions.alu;

import frontend.visitor.symboltbl.scope.Scope;
import ir.types.datatypes.DataType;
import ir.values.Value;
import ir.values.users.instructions.InstOperator;

public class SubInst extends AluInst {
    public SubInst(DataType type, Value operand1, Value operand2) {
        super(type, operand1, operand2);
    }

    public SubInst(Value operand1, Value operand2) {
        super(operand1, operand2);
    }

    @Override
    public InstOperator getInstOperator() {
        return InstOperator.sub;
    }
}
